package eu.scillman.interfaces;

/**
 * Contains constants used by the communication packages (eu.scillman.tcp).
 * @author Jiri Waning
 *
 */
public interface ICommConstants {
	/**
	 * This is the default port that is going to be used for theater mode.
	 * Default: 54016
	 */
	public static final int THEATER_PORT = 54016;

	/**
	 * This is the default timeout of the socket.
	 * Default: 10 seconds
	 */
	public static final int CONNECTION_TIMEOUT = 10000;
	
	/**
	 * The buffer size of the theater mode client connections.
	 * Default: 1024 bytes/1 kilobyte
	 */
	public static final int BUFFER_SIZE = 1024;
	
	/**
	 * This is the maximum amount of permitted clients.
	 * Default: 4
	 */
	public static final int MAX_CONNECTIONS = 4;
	
	/**
	 * This is the minimum amount of required clients.
	 * Default: 2
	 */
	public static final int MIN_CONNECTIONS = 2;
}
